package com.lxmes.gs.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxmes.gs.domain.WorkingHoursStatistics;

/**
 * 工时统计Service接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface IWorkingHoursStatisticsService extends IService<WorkingHoursStatistics>{
    /**
     * 查询工时统计
     * 
     * @param id 工时统计主键
     * @return 工时统计
     */
    public WorkingHoursStatistics selectWorkingHoursStatisticsById(Long id);

    /**
     * 查询工时统计列表
     * 
     * @param workingHoursStatistics 工时统计
     * @return 工时统计集合
     */
    public List<WorkingHoursStatistics> selectWorkingHoursStatisticsList(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 新增工时统计
     * 
     * @param workingHoursStatistics 工时统计
     * @return 结果
     */
    public int insertWorkingHoursStatistics(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 修改工时统计
     * 
     * @param workingHoursStatistics 工时统计
     * @return 结果
     */
    public int updateWorkingHoursStatistics(WorkingHoursStatistics workingHoursStatistics);

    /**
     * 批量删除工时统计
     * 
     * @param ids 需要删除的工时统计主键集合
     * @return 结果
     */
    public int deleteWorkingHoursStatisticsByIds(Long[] ids);

    /**
     * 删除工时统计信息
     * 
     * @param id 工时统计主键
     * @return 结果
     */
    public int deleteWorkingHoursStatisticsById(Long id);
    /**
     * 导入工时统计信息
     *
     * @return 结果
     */
    String imporIteminfo(List<WorkingHoursStatistics> workingHoursStatisticsList, boolean updateSupport);
}
